<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>元素溢出</title>
</head>
<style>
    div{
        width: 360px;
        height: 360px;
        margin: 200px auto 0;
        overflow: auto;
    }
    img{
        width: 474px;
        vertical-align: baseline;
        /*基线对齐*/
        vertical-align: bottom;
        /*底线对齐*/
        vertical-align: top;
        /*顶线对齐*/
        vertical-align: middle;
        /*中线对齐*/
    }
</style>
<body>
    鸽鸽<img src="img/1.jpg">个人练习生<img src="img/1.jpg">
    <div class="box">
        <img src="img/1.jpg" alt="">
        <img src="img/1.jpg" alt="">
        <img src="img/1.jpg" alt="">
        <img src="img/1.jpg" alt="">
        <img src="img/1.jpg" alt="">
    </div>
</body>
</html>